from langchain_community.llms import Tongyi
import os

os.environ['DASHSCOPE_API_KEY'] = 'sk-a76667095fa84061921429bb64b22758'

llm = Tongyi()

response = llm.invoke('你好')

print(response)
